package health.lm.com.mine.util;

import com.bigkoo.pickerview.model.IPickerViewData;

import java.util.List;

/**
 * 城市列表实体类
 */

public class CityJsonBean implements IPickerViewData {
    private String _id;

    private String name;

    private List<City> city ;

    public void set_id(String _id){
        this._id = _id;
    }
    public String get_id(){
        return this._id;
    }
    public void setName(String name){
        this.name = name;
    }
    public String getName(){
        return this.name;
    }
    public void setCity(List<City> city){
        this.city = city;
    }
    public List<City> getCity(){
        return this.city;
    }

    @Override
    public String getPickerViewText() {
        return this.name;
    }

    public class City {
        private String _id;

        private String name;

        private List<Area> area ;

        public void set_id(String _id){
            this._id = _id;
        }
        public String get_id(){
            return this._id;
        }
        public void setName(String name){
            this.name = name;
        }
        public String getName(){
            return this.name;
        }
        public void setArea(List<Area> area){
            this.area = area;
        }
        public List<Area> getArea(){
            return this.area;
        }

    }
    public class Area {
        private String _id;

        private String name;

        public void set_id(String _id){
            this._id = _id;
        }
        public String get_id(){
            return this._id;
        }
        public void setName(String name){
            this.name = name;
        }
        public String getName(){
            return this.name;
        }

    }
}
